﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Webdiyer.WebControls.Mvc;
using System.ComponentModel.DataAnnotations;

namespace MvcWeb.ViewModels.Manager
{
    public class ManagerSearchConditonModel
    {
        //public string AssetName { get; set; }
        //public string AssetBarcode { get; set; }
        //public string AssetLabel { get; set; }
        //public string AssetCustodyAddress { get; set; }
        //public DateTime? AssetStartBuyTime { get; set; }
        //public DateTime? AssetEndBuyTime { get; set; }
        //public int? AssetCID { get; set; }
        //public int? AssetBrand { get; set; }
        //public int? AssetSupply { get; set; }
        //public int? AssetDepartID { get; set; }
        //public Guid? AssetCustodyMemberID { get; set; }
        //public int? AssetStatus { get; set; }


        public string AssetName { get; set; }
        [Display(Name = "资产分类")]
        public Int32? AssetCID { get; set; }
        [Display(Name = "资产品牌")]
        public Int32? AssetBrand { get; set; }
        [Display(Name = "资产供应商")]
        public Int32? AssetSupply { get; set; }
        [Display(Name = "资产条形码")]
        public String AssetBarcode { get; set; }
        [Display(Name = "资产标签")]
        public String AssetLabel { get; set; }
        [Display(Name = "资产状态")]
        public Int32? AssetStatus { get; set; }
        [Display(Name = "存放地点")]
        public String AssetCustodyAddress { get; set; }
        [Display(Name = "保管人")]
        public Guid? AssetCustodyMemberID { get; set; }
        [Display(Name = "使用部门")]
        public Int32? AssetDepartID { get; set; }
        [Display(Name = "购买开始时间")]
        public DateTime? AssetStartBuyTime { get; set; }
        [Display(Name = "购买结束时间")]
        public DateTime? AssetEndBuyTime { get; set; }
    }


    public class ManagerSearchModel
    {
        public PagedList<EAM.Model.AssetManager> managerModelList { get; set; }
        public ManagerSearchConditonModel conditionModel { get; set; }
        public int assetStatus { get; set; }
        public int assetLevel { get; set; }


    }
}